Optimal. Leaf size=141 \[ \frac{f \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{2 b c \sqrt{c d x+d} \sqrt{f-c f x}}+\frac{f \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )}{c \sqrt{c d x+d} \sqrt{f-c f x}}-\frac{b f x \sqrt{1-c^2 x^2}}{\sqrt{c d x+d} \sqrt{f-c f x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.263936, antiderivative size = 141, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {4673, 4763, 4641, 4677, 8} \[ \frac{f \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{2 b c \sqrt{c d x+d} \sqrt{f-c f x}}+\frac{f \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )}{c \sqrt{c d x+d} \sqrt{f-c f x}}-\frac{b f x \sqrt{1-c^2 x^2}}{\sqrt{c d x+d} \sqrt{f-c f x}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4673
Rule 4763
Rule 4641
Rule 4677
Rule 8
Rubi steps
\begin{align*} \int \frac{\sqrt{f-c f x} \left (a+b \sin ^{-1}(c x)\right )}{\sqrt{d+c d x}} \, dx &=\frac{\sqrt{1-c^2 x^2} \int \frac{(f-c f x) \left (a+b \sin ^{-1}(c x)\right )}{\sqrt{1-c^2 x^2}} \, dx}{\sqrt{d+c d x} \sqrt{f-c f x}}\\ &=\frac{\sqrt{1-c^2 x^2} \int \left (\frac{f \left (a+b \sin ^{-1}(c x)\right )}{\sqrt{1-c^2 x^2}}-\frac{c f x \left (a+b \sin ^{-1}(c x)\right )}{\sqrt{1-c^2 x^2}}\right ) \, dx}{\sqrt{d+c d x} \sqrt{f-c f x}}\\ &=\frac{\left (f \sqrt{1-c^2 x^2}\right ) \int \frac{a+b \sin ^{-1}(c x)}{\sqrt{1-c^2 x^2}} \, dx}{\sqrt{d+c d x} \sqrt{f-c f x}}-\frac{\left (c f \sqrt{1-c^2 x^2}\right ) \int \frac{x \left (a+b \sin ^{-1}(c x)\right )}{\sqrt{1-c^2 x^2}} \, dx}{\sqrt{d+c d x} \sqrt{f-c f x}}\\ &=\frac{f \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )}{c \sqrt{d+c d x} \sqrt{f-c f x}}+\frac{f \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{2 b c \sqrt{d+c d x} \sqrt{f-c f x}}-\frac{\left (b f \sqrt{1-c^2 x^2}\right ) \int 1 \, dx}{\sqrt{d+c d x} \sqrt{f-c f x}}\\ &=-\frac{b f x \sqrt{1-c^2 x^2}}{\sqrt{d+c d x} \sqrt{f-c f x}}+\frac{f \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )}{c \sqrt{d+c d x} \sqrt{f-c f x}}+\frac{f \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{2 b c \sqrt{d+c d x} \sqrt{f-c f x}}\\ \end{align*}
Mathematica [A] time = 0.785273, size = 200, normalized size = 1.42 \[ \frac{\frac{2 \sqrt{c d x+d} \sqrt{f-c f x} \left (a \sqrt{1-c^2 x^2}-b c x\right )}{\sqrt{1-c^2 x^2}}-2 a \sqrt{d} \sqrt{f} \tan ^{-1}\left (\frac{c x \sqrt{c d x+d} \sqrt{f-c f x}}{\sqrt{d} \sqrt{f} \left (c^2 x^2-1\right )}\right )+\frac{b \sqrt{c d x+d} \sqrt{f-c f x} \sin ^{-1}(c x)^2}{\sqrt{1-c^2 x^2}}+2 b \sqrt{c d x+d} \sqrt{f-c f x} \sin ^{-1}(c x)}{2 c d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.243, size = 0, normalized size = 0. \begin{align*} \int{(a+b\arcsin \left ( cx \right ) )\sqrt{-cfx+f}{\frac{1}{\sqrt{cdx+d}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{-c f x + f}{\left (b \arcsin \left (c x\right ) + a\right )}}{\sqrt{c d x + d}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{- f \left (c x - 1\right )} \left (a + b \operatorname{asin}{\left (c x \right )}\right )}{\sqrt{d \left (c x + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{-c f x + f}{\left (b \arcsin \left (c x\right ) + a\right )}}{\sqrt{c d x + d}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]